/*
 * Copyright (c) 2018, dreamkaylee@foxmail.com All Rights Reserved.
 */

package com.limk.jconfig.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author limk
 * @date 2018年3月26日 下午12:51:47
 * @version
 */
public class Role implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1482099184036862937L;
	/**
	 * 唯一主键
	 */
	private Integer id;
	/**
	 * 角色名
	 */
	private String rolename;
	/**
	 * 角色标识符
	 */
	private String identify;
	/**
	 * 状态
	 */
	private Byte locked;
	/**
	 * 权限
	 */
	private List<Permission> permissions;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename == null ? null : rolename.trim();
	}

	public String getIdentify() {
		return identify;
	}

	public void setIdentify(String identify) {
		this.identify = identify == null ? null : identify.trim();
	}

	public Byte getLocked() {
		return locked;
	}

	public void setLocked(Byte locked) {
		this.locked = locked;
	}

	public List<Permission> getPermissions() {
		return permissions;
	}

	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}

}